package com.zk.nacosprovider.Entity;

import java.io.Serializable;

public class experiment implements Serializable {
    private String experimentid;

    private String experimentname;

    private String experimentmen;

    private String procurator;

    private String fileaddress;

    private Integer experimentstage;

    private Integer falsedeletion;

    private static final long serialVersionUID = 1L;

    public String getExperimentid() {
        return experimentid;
    }

    public void setExperimentid(String experimentid) {
        this.experimentid = experimentid == null ? null : experimentid.trim();
    }

    public String getExperimentname() {
        return experimentname;
    }

    public void setExperimentname(String experimentname) {
        this.experimentname = experimentname == null ? null : experimentname.trim();
    }

    public String getExperimentmen() {
        return experimentmen;
    }

    public void setExperimentmen(String experimentmen) {
        this.experimentmen = experimentmen == null ? null : experimentmen.trim();
    }

    public String getProcurator() {
        return procurator;
    }

    public void setProcurator(String procurator) {
        this.procurator = procurator == null ? null : procurator.trim();
    }

    public String getFileaddress() {
        return fileaddress;
    }

    public void setFileaddress(String fileaddress) {
        this.fileaddress = fileaddress == null ? null : fileaddress.trim();
    }

    public Integer getExperimentstage() {
        return experimentstage;
    }

    public void setExperimentstage(Integer experimentstage) {
        this.experimentstage = experimentstage;
    }

    public Integer getFalsedeletion() {
        return falsedeletion;
    }

    public void setFalsedeletion(Integer falsedeletion) {
        this.falsedeletion = falsedeletion;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        experiment other = (experiment) that;
        return (this.getExperimentid() == null ? other.getExperimentid() == null : this.getExperimentid().equals(other.getExperimentid()))
            && (this.getExperimentname() == null ? other.getExperimentname() == null : this.getExperimentname().equals(other.getExperimentname()))
            && (this.getExperimentmen() == null ? other.getExperimentmen() == null : this.getExperimentmen().equals(other.getExperimentmen()))
            && (this.getProcurator() == null ? other.getProcurator() == null : this.getProcurator().equals(other.getProcurator()))
            && (this.getFileaddress() == null ? other.getFileaddress() == null : this.getFileaddress().equals(other.getFileaddress()))
            && (this.getExperimentstage() == null ? other.getExperimentstage() == null : this.getExperimentstage().equals(other.getExperimentstage()))
            && (this.getFalsedeletion() == null ? other.getFalsedeletion() == null : this.getFalsedeletion().equals(other.getFalsedeletion()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getExperimentid() == null) ? 0 : getExperimentid().hashCode());
        result = prime * result + ((getExperimentname() == null) ? 0 : getExperimentname().hashCode());
        result = prime * result + ((getExperimentmen() == null) ? 0 : getExperimentmen().hashCode());
        result = prime * result + ((getProcurator() == null) ? 0 : getProcurator().hashCode());
        result = prime * result + ((getFileaddress() == null) ? 0 : getFileaddress().hashCode());
        result = prime * result + ((getExperimentstage() == null) ? 0 : getExperimentstage().hashCode());
        result = prime * result + ((getFalsedeletion() == null) ? 0 : getFalsedeletion().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", experimentid=").append(experimentid);
        sb.append(", experimentname=").append(experimentname);
        sb.append(", experimentmen=").append(experimentmen);
        sb.append(", procurator=").append(procurator);
        sb.append(", fileaddress=").append(fileaddress);
        sb.append(", experimentstage=").append(experimentstage);
        sb.append(", falsedeletion=").append(falsedeletion);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}